<?php
/**
 * User:ayou chow
 * Date: 2020-02-12
 * Time: 14:41
 */

namespace app\common\model;


use think\Model;

class FootballTeamModel extends Model
{
    protected $connection = ['database' => 'sports'];

    public function matchevent()
    {
        return $this->hasOne('FootballMatcheventModel', 'id', 'competition_id');
    }
}